package main

import (
	"fmt"
	"log"
	"os"
	"time"
)

func main() {
	log.Println("ServiceB starting.")
	fmt.Println("ServiceB: Processing data...")
	time.Sleep(2 * time.Second)
	fmt.Fprintln(os.Stderr, "ServiceB: A non-critical error occurred.")
	time.Sleep(1 * time.Second)
	log.Println("ServiceB finished.")
}
